package com.education.wisdom.pojo;

import com.education.common.core.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 测试支付宝支付表 jr_textalipay
 *
 * @author ruoyi
 * @date 2019-01-25
 */
public class Textalipay extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	/** 主键 */
	private Integer orderId;
	/** 用户id */
	private Integer userId;
	/** 订单金额 */
	private String orderAmount;
	/** 订单标题 */
	private String orderTitle;
	/** 下单时间 */
	private Date createTime;
	/** 订单状态 1已提交订单 2待支付 3.已支付 4.已充值 */
	private String orderStatus;
	/** 商户订单号 */
	private String outTradeNo;
	/** 支付宝交易号 */
	private String tradeNo;

	public void setOrderId(Integer orderId)
	{
		this.orderId = orderId;
	}

	public Integer getOrderId()
	{
		return orderId;
	}
	public void setUserId(Integer userId)
	{
		this.userId = userId;
	}

	public Integer getUserId()
	{
		return userId;
	}
	public void setOrderAmount(String orderAmount)
	{
		this.orderAmount = orderAmount;
	}

	public String getOrderAmount()
	{
		return orderAmount;
	}
	public void setOrderTitle(String orderTitle)
	{
		this.orderTitle = orderTitle;
	}

	public String getOrderTitle()
	{
		return orderTitle;
	}
	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getCreateTime()
	{
		return createTime;
	}
	public void setOrderStatus(String orderStatus)
	{
		this.orderStatus = orderStatus;
	}

	public String getOrderStatus()
	{
		return orderStatus;
	}
	public void setOutTradeNo(String outTradeNo)
	{
		this.outTradeNo = outTradeNo;
	}

	public String getOutTradeNo()
	{
		return outTradeNo;
	}
	public void setTradeNo(String tradeNo)
	{
		this.tradeNo = tradeNo;
	}

	public String getTradeNo()
	{
		return tradeNo;
	}

	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.append("orderId", getOrderId())
				.append("userId", getUserId())
				.append("orderAmount", getOrderAmount())
				.append("orderTitle", getOrderTitle())
				.append("createTime", getCreateTime())
				.append("orderStatus", getOrderStatus())
				.append("outTradeNo", getOutTradeNo())
				.append("tradeNo", getTradeNo())
				.toString();
	}
}
